package models

type Option struct {
	OptionId uint   `gorm:"option_id notnull int pk autoincr"`
	Name     string `gorm:"name notnull varchar(50)" valid:"required,length(1|50),alphanum"`
	Value    string `gorm:"value notnull tinytext" valid:"required,length(1|255),ascii"`
}

func (o *Option) TableName() string {
	return "mm_options"
}
